package com.gxc.oauth2.service.impl;

import com.gxc.oauth2.entity.TbContentEntity;
import com.gxc.oauth2.repository.ContentRepository;
import com.gxc.oauth2.service.ContentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author GongXincheng
 * @since 2019-10-12 00:03
 */
@Service
public class ContentServiceImpl implements ContentService {

    @Resource
    private ContentRepository contentRepository;

    @Override
    public List<TbContentEntity> findAll() {
        return contentRepository.findAll();
    }
}
